<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!DOCTYPE html>
<html lang="zh-CN"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
</head>
<body class="body">

	<div class="navbar navbar-fixed-top"  >
		<div class="navbar-inner" >
		
			<div class="container">
			<marquee scrolldelay="40" direction="right" onmouseover="this.stop()" onMouseOut="this.start()">
				<a class="brand" href="main.jspx" style="color:red;margin-top:0px;">凯盛项目管理系统  欢迎你的登陆！</a>
				</marquee>
			</div>
		</div>
	</div>
	
	
	<div class="container" id="s" >
	  <div class="row"  >
		<div class="span3" >
			<div style="padding: 8px 0;" class="well">
				<ul class="nav nav-list">
				  <li class="nav-header">新Apple总部项目</li>
				  <li class="divider"></li>
				  <li class="active"><a href="pro.jspx?_m=lm&id=${sessionScope.mypro.id}"><i class="icon-white icon-home"></i>最新动态</a></li>
				  <li><a href="goal.jspx?_m=s1"><i class="icon-flag"></i>目标</a></li>
				  <li><a href="document.jspx?_m=d1"><i class="icon-folder-open"></i>资料库</a></li>
				  <li><a href="file.jspx"><i class="icon-file"></i>文件共享</a></li>
				  <li><a href="contact.jspx?_m=c5"><i class="icon-user"></i>联系人</a></li>
				  <li><a href="idea.jspx"><i class="icon-fire"></i>想法</a></li>
				  <li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
				  <li><a href="#"><i class="icon-cog"></i>项目设置</a></li>
				</ul>
			</div>
		</div>>
		<div class="span9">
			<form class="form-horizontal"  action="contact.jspx?_m=c9" method="post">
        <fieldset>
          <legend>编辑联系人</legend>
          <div class="control-group">
          <input type="hidden" name="cid" value="${requestScope.contact.id}">
            <label class="control-label" for="input01">姓名</label>
            <div class="controls">
              <input name="name" class="span5" id="input01" x-webkit-speech="undefined" type="text" value="${requestScope.contact.name}">
            </div>
          </div>
		   <div class="control-group">
            <label class="control-label" for="input01">公司</label>
            <div class="controls">
              <input name="companyname" class="span5" id="input01" x-webkit-speech="undefined" type="text" value="${requestScope.contact.companyname }">
            </div>
          </div>
		  <div class="line"></div>
		   <div class="control-group">
            <label class="control-label" for="input01">手机</label>
            <div class="controls">
              <input name="moblie" class="span5" id="input01" x-webkit-speech="undefined" type="text"  value="${requestScope.contact.moblie }">
            </div>
          </div>
		   <div class="control-group">
            <label class="control-label" for="input01">固话</label>
            <div class="controls">
              <input name="tel" class="span5" id="input01" x-webkit-speech="undefined" type="text" value="${requestScope.contact.tel }">
            </div>
          </div>
		  <div class="control-group">
            <label class="control-label" for="input01">邮箱</label>
            <div class="controls">
              <input name="email" class="span5" id="input01" x-webkit-speech="undefined" type="text" value="${requestScope.contact.email }">
            </div>
          </div>
		   <div class="line"></div>
		  <div class="control-group">
            <label class="control-label" for="input01">地址</label>
            <div class="controls">
              <input name="address" class="span5" id="input01" x-webkit-speech="undefined" type="text" value="${requestScope.contact.address }">
            </div>
          </div>
		   <div class="line"></div>
		   <div class="control-group">
            <label class="control-label" for="input01">主页</label>
            <div class="controls">
              <input name="website" class="span5" id="input01" type="text" value="${requestScope.contact.website }">
			  <p class="help-block">http://www.xxx.com</p>
            </div>
          </div>
		   <div class="control-group">
            <label class="control-label" for="input01">微博</label>
            <div class="controls">
				<select class="span2" name="weiboaddress">
				<c:choose>
				  <c:when test="${requestScope.contact.weibo=='weibo.com'}">
				       <option selected="selected">新浪微博</option>
				       <option>腾讯微博</option>
					<option>Twitter</option>
				</c:when>
				 <c:when test="${requestScope.contact.weibo=='t.qq.com'}">
				<option selected="selected">腾讯微博</option>
				  <option>新浪微博</option>
					<option>Twitter</option>
				</c:when>
				<c:when test="${requestScope.contact.weibo=='twitter.com'}">
				 <option selected="selected">Twitter</option>
				  <option>新浪微博</option>
					<option>腾讯微博</option>
				</c:when>
				</c:choose>
		
					
				</select>
				<div class="input-prepend">
					<span class="add-on">@</span><input name="weibo" class="span2" id="prependedInput" size="16" x-webkit-speech="undefined" type="text" value="${requestScope.contact.weiboname }">
                </div>
				
            </div>
          </div>
		   <div class="control-group">
            <label class="control-label" for="input01">简介</label>
            <div class="controls">
              <textarea name="content" class="span5" rows="6">${requestScope.contact.content }</textarea>
            </div>
          </div>
		  
		  

          <div class="form-actions">
            <button type="submit" class="btn btn-primary">保存</button>
            <a href="contact.jspx?_m=c5" class="btn">返回</a>
          </div>
        </fieldset>
      </form>          
          	
		</div>
		<div class="span3">
			
		</div>
	  </div>
	</div>

</body></html>